﻿:root{
    --CouleurPrimaire:#1f354d;
    --CouleurSecondaire:#03989e;
    --CouleurAccent:#FF8C42;
    --FontFamily:"Khand", sans-serif;
    --BoxShadow:rgb(163, 163, 163);
    --FontSizeREG:clamp(19px,1.3vw,30px);
    --FontSizeBIG:clamp(30px,7vw,42px);
  }

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

*{
    scroll-snap-type:y proximity;
}

/* ===== HEADER MODERNE ===== */
#MainHeader {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(31, 53, 77, 0.08);
    transition: box-shadow 0.3s ease;
}

#MainHeader.scrolled {
    box-shadow: 0 4px 20px rgba(31, 53, 77, 0.1);
}

#HeaderNav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 5%;
    gap: 20px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.header-logo:hover {
    transform: scale(1.02);
}

.header-logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo-text {
    font-family: "Khand", sans-serif;
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--CouleurPrimaire);
    font-weight: 400;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.nav-link.cta-header {
    margin-left: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-family: var(--FontFamily);
    font-size: clamp(14px, 1.1vw, 17px);
    font-weight: 500;
    color: var(--CouleurPrimaire);
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.nav-link .material-symbols-outlined {
    font-size: 20px;
    color: var(--CouleurSecondaire);
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.nav-link:hover {
    background: rgba(3, 152, 158, 0.08);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--CouleurSecondaire), rgba(3, 152, 158, 0.85));
    color: white;
}

.nav-link.active .material-symbols-outlined {
    color: white;
    background: transparent;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: rgba(31, 53, 77, 0.05);
    color: var(--CouleurPrimaire);
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    background: rgba(3, 152, 158, 0.1);
}

.menu-toggle .material-symbols-outlined {
    font-size: 26px;
}

/* Mobile Menu amélioré */
#MobileMenu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 10px;
    z-index: 99;
    box-shadow: 0 10px 40px rgba(31, 53, 77, 0.15);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

#MobileMenu a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-radius: 50px;
    font-family: var(--FontFamily);
    font-size: 18px;
    font-weight: 500;
    color: var(--CouleurPrimaire);
    background: rgba(31, 53, 77, 0.04);
    transition: all 0.2s ease;
}

#MobileMenu a:hover {
    background: rgba(3, 152, 158, 0.1);
}

@media only screen and (max-width: 700px) {
    .header-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo-text {
        display: none;
    }

    .header-logo img {
        width: 40px;
        height: 40px;
    }
}

@media only screen and (min-width: 701px) {
    #MobileMenu {
        display: none !important;
    }
}

/* ===== HERO SECTION MODERNE ===== */
#PremiereVue {
    font-family: var(--FontFamily);
    position: relative;
    min-height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(31, 53, 77, 0.03) 0%,
        rgba(3, 152, 158, 0.05) 50%,
        rgba(255, 140, 66, 0.03) 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(3, 152, 158, 0.08) 0%, transparent 70%);
    animation: pulse-bg 8s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 5%;
    width: 100%;
    align-items: center;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 15px;
    margin: 15px 0 20px 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(3, 152, 158, 0.2);
    border-radius: 16px;
    padding: 12px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(31, 53, 77, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: statFadeUp 0.5s ease both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.25s; }
.stat-card:nth-child(3) { animation-delay: 0.4s; }

@keyframes statFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(31, 53, 77, 0.12);
}

.stat-number {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    color: var(--CouleurSecondaire);
    display: inline;
}

.stat-number.static {
    /* Ne pas animer cette valeur */
}

.stat-suffix {
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 700;
    color: var(--CouleurSecondaire);
}

.stat-label {
    display: block;
    font-size: clamp(12px, 1vw, 14px);
    color: var(--CouleurPrimaire);
    font-weight: 400;
    margin-top: 2px;
}

/* Contenu principal */
.hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-eyebrow {
    font-size: clamp(14px, 1.2vw, 18px);
    color: var(--CouleurSecondaire);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
    margin: 0 0 15px 0;
}

.title-line {
    display: block;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 400;
    color: var(--CouleurPrimaire);
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.1s forwards;
}

.title-highlight {
    display: block;
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--CouleurPrimaire);
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Button */
.hero-cta {
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.5s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: clamp(16px, 1.3vw, 20px);
    font-weight: 600;
    font-family: var(--FontFamily);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--CouleurAccent) 0%, #FF6F1A 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 140, 66, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.5);
}

.cta-button .material-symbols-outlined {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.cta-button:hover .material-symbols-outlined {
    transform: translateX(5px);
}

.cta-subtext {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: clamp(14px, 1vw, 16px);
    color: var(--CouleurMuted);
}

.cta-subtext .material-symbols-outlined {
    font-size: 18px;
    color: var(--CouleurSecondaire);
}

/* Image avec blob */
.hero-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-blob {
    position: absolute;
    width: 110%;
    height: 110%;
    background: linear-gradient(135deg,
        rgba(3, 152, 158, 0.2) 0%,
        rgba(255, 140, 66, 0.15) 50%,
        rgba(31, 53, 77, 0.1) 100%);
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    animation: blob-morph 10s ease-in-out infinite;
    z-index: -1;
}

@keyframes blob-morph {
    0%, 100% {
        border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 50% 60% 40% 60% / 60% 40% 60% 40%;
    }
    50% {
        border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%;
        transform: rotate(5deg) scale(1.02);
    }
    75% {
        border-radius: 60% 40% 50% 50% / 50% 40% 60% 50%;
    }
}

.hero-image {
    width: clamp(250px, 30vw, 380px);
    height: clamp(250px, 30vw, 380px);
    object-fit: cover;
    border-radius: 30% 70% 60% 40% / 60% 30% 70% 40%;
    box-shadow: 0 20px 60px rgba(31, 53, 77, 0.2);
    animation: image-float 6s ease-in-out infinite;
}

@keyframes image-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ===== RESPONSIVE HERO ===== */
@media only screen and (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-main {
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .stat-card {
        padding: 12px 20px;
    }

    .hero-image-container {
        margin-top: 20px;
    }

    .hero-image {
        width: clamp(200px, 50vw, 300px);
        height: clamp(200px, 50vw, 300px);
    }
}

@media only screen and (max-width: 500px) {
    #PremiereVue {
        min-height: auto;
        padding-top: 20px;
    }

    .hero-stats {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-card {
        padding: 10px 15px;
        min-width: 120px;
    }

    .stat-number {
        font-size: 22px;
    }

    .cta-button {
        padding: 14px 24px;
        width: 100%;
        justify-content: center;
    }

    .hero-image-container {
        display: none;
    }
}

/* ===== SECTION BESOINS EN RECRUTEMENT ===== */
#BesoinsRecrutement {
    padding-top: 50px;
    padding-bottom: 60px;
}

/* ── Grille des postes ── */
.postes-grid {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.poste-card {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(31, 53, 77, 0.1);
    box-shadow: 0 8px 32px rgba(31, 53, 77, 0.06);
    padding: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.poste-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.poste-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(31, 53, 77, 0.15);
}

.poste-card-header {
    margin-bottom: 12px;
}

.poste-niveau {
    font-family: var(--FontFamily);
    font-size: clamp(19px, 1.4vw, 22px);
    font-weight: 600;
    color: var(--CouleurPrimaire);
}

/* ── Bloc scindé verticalement : en ligne / en personne ── */
.poste-split {
    display: flex;
    border-radius: 16px;
    overflow: hidden;
}

.poste-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px 8px;
    color: white;
}

.poste-half-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.poste-half-main .material-symbols-outlined {
    font-size: 20px;
    flex-shrink: 0;
}

.poste-half-main span:last-child {
    font-family: var(--FontFamily);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.poste-half-enligne {
    background: linear-gradient(135deg, var(--CouleurSecondaire), rgba(3, 152, 158, 0.75));
    border-right: 2px solid white;
}

.poste-half-enpersonne {
    background: linear-gradient(135deg, var(--CouleurPrimaire), rgba(31, 53, 77, 0.75));
}

/* Moitié indisponible : trame hachurée, ton neutre, opacité réduite */
.poste-half-indisponible {
    background: repeating-linear-gradient(
        45deg,
        #c7cbd2,
        #c7cbd2 6px,
        #dadde2 6px,
        #dadde2 12px
    );
    color: #6b7078;
    opacity: 0.55;
}

.poste-half-indisponible .material-symbols-outlined {
    color: #8b909a;
}

.poste-half-status {
    font-family: var(--FontFamily);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 2px 9px;
    border-radius: 50px;
    white-space: nowrap;
}

.poste-half-status-indisponible {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #9aa0aa;
    color: #6b7078;
}

.poste-half-status-disponible {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
}

/* ── Bouton Postuler ── */
.poste-apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--CouleurAccent) 0%, #FF6F1A 100%);
    color: white;
    font-family: var(--FontFamily);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(255, 140, 66, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poste-apply-btn .material-symbols-outlined {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.poste-apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 140, 66, 0.45);
}

.poste-apply-btn:hover .material-symbols-outlined {
    transform: translateX(4px);
}

@media only screen and (max-width: 560px) {
    .postes-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
    }
    .poste-card { padding: 20px; }
}

/* ===== PROCESSUS D'EMBAUCHE — TIMELINE VERTICALE ===== */
.proc-timeline {
    max-width: 720px;
    margin: 30px auto 0;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
}

.proc-step {
    display: flex;
    gap: 22px;
}

.proc-step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 46px;
}

.proc-num {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--CouleurPrimaire);
    color: white;
    font-family: var(--FontFamily);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(31, 53, 77, 0.22);
}

.proc-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, rgba(3, 152, 158, 0.4) 0%, rgba(3, 152, 158, 0.1) 100%);
    margin: 6px 0;
    min-height: 20px;
    border-radius: 2px;
}

.proc-step-body {
    padding-bottom: 36px;
    flex: 1;
    padding-top: 8px;
}

.proc-step:last-child .proc-step-body {
    padding-bottom: 0;
}

.proc-step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.proc-step-header h3 {
    font-family: var(--FontFamily);
    font-size: clamp(17px, 1.4vw, 21px);
    font-weight: 600;
    color: var(--CouleurPrimaire);
    margin: 0;
}

.proc-tag {
    font-family: var(--FontFamily);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(3, 152, 158, 0.12);
    color: #026f73;
    white-space: nowrap;
}

.proc-tag.proc-tag-filtre {
    background: rgba(255, 140, 66, 0.14);
    color: #c05c00;
}

/* ── Sous-étape ── */
.proc-substep {
    margin-top: 16px;
    padding: 14px 16px;
    background: rgba(3, 152, 158, 0.05);
    border-radius: 10px;
}

.proc-substep-title {
    display: block;
    font-family: var(--FontFamily);
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 600;
    color: var(--CouleurPrimaire);
    margin-bottom: 6px;
}

.proc-substep p {
    font-family: var(--FontFamily);
    font-size: clamp(13px, 0.95vw, 15px);
    color: var(--CouleurMuted);
    line-height: 1.6;
    margin: 0;
}

.proc-step-body p {
    font-family: var(--FontFamily);
    font-size: clamp(14px, 1vw, 16px);
    color: var(--CouleurMuted);
    line-height: 1.65;
    margin: 0;
}

@media only screen and (max-width: 600px) {
    .proc-step { gap: 16px; }
    .proc-num { width: 38px; height: 38px; font-size: 16px; }
    .proc-step-left { width: 38px; }
    .proc-step-body { padding-bottom: 28px; }
}

/* ===== SECTION COMMENT ÇA MARCHE ===== */
#CommentCaMarche {
    background: #f7f9fb;
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-top: 50px;
    padding-bottom: 50px;
}

#CommentCaMarche .section-header {
    padding: 0 5%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-family: var(--FontFamily);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--CouleurPrimaire);
    margin-bottom: 10px;
}

.section-subtitle {
    font-family: var(--FontFamily);
    font-size: clamp(16px, 1.3vw, 20px);
    color: var(--CouleurMuted);
    font-weight: 400;
}

.section-comparaison {
    font-family: var(--FontFamily);
    font-size: 15px;
    color: var(--CouleurMuted);
    margin-top: 12px;
    background: rgba(3, 152, 158, 0.07);
    padding: 10px 16px;
    border-radius: 10px;
    display: inline-block;
}

.section-comparaison strong {
    color: var(--CouleurPrimaire);
}

.timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    flex: 1;
    max-width: 200px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.timeline-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--CouleurSecondaire), rgba(3, 152, 158, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(3, 152, 158, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(3, 152, 158, 0.4);
}

.step-icon .material-symbols-outlined {
    font-size: 26px;
    color: white;
}

.step-content h3 {
    font-family: var(--FontFamily);
    font-size: clamp(18px, 1.4vw, 22px);
    font-weight: 600;
    color: var(--CouleurPrimaire);
    margin-bottom: 8px;
}

.step-content p {
    font-family: var(--FontFamily);
    font-size: clamp(14px, 1vw, 16px);
    color: var(--CouleurMuted);
    line-height: 1.5;
    padding: 0 10px;
}

.step-number {
    position: absolute;
    top: 0;
    right: 10px;
    font-family: var(--FontFamily);
    font-size: 48px;
    font-weight: 700;
    color: rgba(3, 152, 158, 0.1);
    z-index: 1;
}

.timeline-connector {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--CouleurSecondaire), rgba(3, 152, 158, 0.3));
    margin-top: 28px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Responsive Timeline */
@media only screen and (max-width: 800px) {
    .timeline {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .timeline-step {
        flex-direction: row;
        text-align: left;
        max-width: 100%;
        width: 100%;
        gap: 20px;
        padding: 15px;
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 15px rgba(31, 53, 77, 0.08);
    }

    .step-icon {
        width: 56px;
        height: 56px;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .step-icon .material-symbols-outlined {
        font-size: 26px;
    }

    .step-content {
        flex: 1;
    }

    .step-content p {
        padding: 0;
    }

    .step-number {
        position: relative;
        top: auto;
        right: auto;
        font-size: 36px;
        align-self: center;
    }

    .timeline-connector {
        width: 3px;
        height: 30px;
        margin-top: 0;
        background: linear-gradient(180deg, var(--CouleurSecondaire), rgba(3, 152, 158, 0.3));
    }
}

/* ===== CALCULATEUR DE REVENUS ===== */
#VotreTarif {
    padding-top: 50px;
    padding-bottom: 50px;
    background: linear-gradient(180deg, rgba(3, 152, 158, 0.03) 0%, transparent 100%);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 25px;
    align-items: start;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.slider-group {
    background: white;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 4px 20px rgba(31, 53, 77, 0.08);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-header label {
    font-family: var(--FontFamily);
    font-size: clamp(16px, 1.2vw, 18px);
    font-weight: 500;
    color: var(--CouleurPrimaire);
}

.slider-value {
    background: linear-gradient(135deg, var(--CouleurSecondaire), rgba(3, 152, 158, 0.8));
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    font-family: var(--FontFamily);
    font-size: clamp(18px, 1.4vw, 22px);
    font-weight: 600;
}

.slider-value span:last-child {
    font-size: 0.8em;
    font-weight: 400;
    margin-left: 2px;
}

/* Styled Range Slider */
.styled-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--CouleurSecondaire) 0%, rgba(3, 152, 158, 0.2) 100%);
    outline: none;
    cursor: pointer;
}

/* Slider avec zones de tarif */
.slider-group.tarif-slider {
    position: relative;
}

.tarif-slider .styled-slider {
    background: linear-gradient(90deg,
        rgba(245, 158, 11, 0.4) 0%,
        rgba(245, 158, 11, 0.4) 9.1%,
        rgba(16, 185, 129, 0.4) 9.1%,
        rgba(16, 185, 129, 0.4) 45.5%,
        rgba(245, 158, 11, 0.4) 45.5%,
        rgba(245, 158, 11, 0.4) 100%
    );
}

.tarif-hint {
    color: #059669;
    font-weight: 500;
}

/* Badge couleurs selon la zone */
.slider-value.zone-low {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.slider-value.zone-normal {
    background: linear-gradient(135deg, #10b981, #059669);
}

.slider-value.zone-high {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Accessibilité - texte caché visuellement */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.styled-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--CouleurSecondaire);
    box-shadow: 0 2px 10px rgba(3, 152, 158, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.styled-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(3, 152, 158, 0.4);
}

.styled-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--CouleurSecondaire);
    box-shadow: 0 2px 10px rgba(3, 152, 158, 0.3);
    cursor: pointer;
}

.slider-range {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-family: var(--FontFamily);
    font-size: 13px;
    color: var(--CouleurMuted);
}

/* Results */
.calculator-results {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: stretch;
}

.result-card {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(31, 53, 77, 0.08);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-card.highlight {
    background: linear-gradient(135deg, var(--CouleurPrimaire), rgba(31, 53, 77, 0.9));
    color: white;
}

.result-label {
    display: block;
    font-family: var(--FontFamily);
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 400;
    margin-bottom: 8px;
    opacity: 0.8;
}

.result-card.highlight .result-label {
    color: rgba(255, 255, 255, 0.8);
}

.result-amount {
    font-family: var(--FontFamily);
    font-size: clamp(32px, 3vw, 42px);
    font-weight: 700;
    color: var(--CouleurSecondaire);
}

.result-card.highlight .result-amount {
    color: white;
}

.result-card.hourly {
    background: linear-gradient(135deg, var(--CouleurSecondaire), rgba(3, 152, 158, 0.85));
    color: white;
}

.result-card.hourly .result-label {
    color: rgba(255, 255, 255, 0.85);
}

.result-card.hourly .result-amount {
    color: white;
}

.result-suffix {
    display: block;
    font-family: var(--FontFamily);
    font-size: clamp(14px, 1vw, 16px);
    color: rgba(255, 255, 255, 0.8);
    margin-top: -5px;
}


.calculator-disclaimer {
    text-align: center;
    font-family: var(--FontFamily);
    font-size: clamp(13px, 0.9vw, 14px);
    color: var(--CouleurMuted);
    font-style: italic;
    margin-top: 20px;
}

/* Responsive Calculator */
@media only screen and (max-width: 800px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .calculator-results {
        flex-direction: column;
        gap: 12px;
    }

    .slider-group,
    .result-card {
        padding: 16px;
    }
}

/* ===== SECTION SIMULATEUR DE REVENUS ===== */
#SimulateurRevenus {
    padding-top: 50px;
    padding-bottom: 50px;
    background: linear-gradient(180deg, rgba(255, 140, 66, 0.03) 0%, transparent 100%);
}

/* ── Nouveau simulateur ── */
.simulateur-container {
    max-width: 660px;
    margin: 30px auto 0;
    padding: 0 5%;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(31, 53, 77, 0.1);
    overflow: hidden;
}

.sim-result-bar {
    background: var(--CouleurPrimaire);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.sim-result-label {
    font-family: var(--FontFamily);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 4px;
}

.sim-result-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sim-result-amount {
    font-family: var(--FontFamily);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 700;
    color: white;
    line-height: 1;
}

.sim-result-unit {
    font-family: var(--FontFamily);
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.sim-result-note {
    font-family: var(--FontFamily);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 6px 0 0;
}

.sim-badge {
    background: rgba(3, 152, 158, 0.25);
    color: #6ed6da;
    font-family: var(--FontFamily);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
}

.sim-body {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sim-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sim-field-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.sim-field-label {
    font-family: var(--FontFamily);
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 500;
    color: var(--CouleurPrimaire);
}

.sim-field-value {
    font-family: var(--FontFamily);
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 600;
    color: var(--CouleurSecondaire);
}

#SimulateurRevenus input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 50px;
    background: rgba(3, 152, 158, 0.18);
    outline: none;
    cursor: pointer;
    accent-color: var(--CouleurSecondaire);
}

#SimulateurRevenus input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--CouleurSecondaire);
    cursor: pointer;
    transition: transform 0.15s ease;
}

#SimulateurRevenus input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

#SimulateurRevenus input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--CouleurSecondaire);
    cursor: pointer;
}

.sim-range-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--FontFamily);
    font-size: 11px;
    color: var(--CouleurMuted);
    margin-top: 2px;
}

.sim-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #f7f9fb;
    border: 1px solid rgba(31, 53, 77, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 4px;
}

.sim-info p {
    font-family: var(--FontFamily);
    font-size: 13px;
    color: var(--CouleurMuted);
    margin: 0;
    line-height: 1.5;
}

.sim-divider {
    border: none;
    border-top: 1px solid rgba(31, 53, 77, 0.07);
    margin: 0;
}

@media only screen and (max-width: 600px) {
    .sim-result-bar { padding: 22px 20px; }
    .sim-body { padding: 22px 20px; }
    .sim-badge { font-size: 12px; padding: 6px 12px; }
}

/* ===== SECTION TUTEURS CONFIANCE ===== */
#TuteursConfiance {
    padding-top: 50px;
    padding-bottom: 50px;
    overflow: hidden;
}

.tuteurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 12px;
    margin-top: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tuteur-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.tuteur-item.animate-in {
    opacity: 1;
    transform: scale(1);
}

.tuteur-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tuteur-item:hover img {
    transform: scale(1.1);
}

.tuteur-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 8px;
    background: linear-gradient(to top, rgba(31, 53, 77, 0.9) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.tuteur-item:hover .tuteur-overlay {
    opacity: 1;
    transform: translateY(0);
}

.tuteur-overlay span {
    font-family: var(--FontFamily);
    font-size: 13px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Placeholder */
.tuteur-item.placeholder {
    background: rgba(255, 140, 66, 0.08);
    border: 2px dashed var(--CouleurAccent);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.tuteur-item.placeholder .material-symbols-outlined {
    font-size: 36px;
    color: var(--CouleurAccent);
    transition: transform 0.3s ease;
}

.tuteur-item.placeholder:hover .material-symbols-outlined {
    transform: scale(1.2);
}

.tuteur-item.placeholder .tuteur-overlay {
    background: linear-gradient(to top, rgba(255, 140, 66, 0.95) 0%, transparent 100%);
}

/* Effet de bordure au hover */
.tuteur-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.tuteur-item:hover::before {
    border-color: var(--CouleurSecondaire);
}

.tuteur-item.placeholder:hover::before {
    border-color: var(--CouleurAccent);
}

/* CTA section */
.confiance-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.cta-button.secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 600;
    font-family: var(--FontFamily);
    text-decoration: none;
    background: white;
    color: var(--CouleurSecondaire);
    border: 2px solid var(--CouleurSecondaire);
    box-shadow: 0 4px 15px rgba(3, 152, 158, 0.15);
    transition: all 0.3s ease;
}

.cta-button.secondary:hover {
    background: var(--CouleurSecondaire);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(3, 152, 158, 0.3);
}

.cta-button.secondary .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.cta-button.secondary:hover .material-symbols-outlined {
    transform: translateX(5px);
}

/* ===== SECTION TUTEURS CONFIANCE — largeur alignée sur le simulateur ===== */
#TuteursConfiance {
    max-width: 1100px;
}

#TuteursConfiance .tuteurs-grid {
    max-width: none;
    grid-template-columns: repeat(11, 1fr);
    gap: 8px;
    margin-top: 20px;
}

@media (max-width: 860px) {
    #TuteursConfiance .tuteurs-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

/* Responsive */
@media only screen and (max-width: 500px) {
    .tuteurs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .tuteur-item {
        border-radius: 16px;
    }

    .tuteur-overlay span {
        font-size: 11px;
    }

    .tuteur-item.placeholder .material-symbols-outlined {
        font-size: 28px;
    }
}

/* ===== SECTION AVANTAGES - GLASSMORPHISM ===== */
#AutresRaisons {
    position: relative;
    overflow: hidden;
    background: var(--CouleurPrimaire);
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-top: 50px;
    padding-bottom: 50px;
}
#AutresRaisons::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/images/Texture.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: .07;
    filter: invert(1);
    pointer-events: none;
}
#AutresRaisons .section-header, #AutresRaisons .avantages-grid {
    position: relative;
}
#AutresRaisons .section-title {
    color: white;
}
#AutresRaisons .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}
#AutresRaisons .avantage-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}
#AutresRaisons .avantage-card:hover {
    background: rgba(255, 255, 255, 0.16);
}
#AutresRaisons .avantage-card h3 {
    color: white;
}
#AutresRaisons .avantage-card p {
    color: rgba(255, 255, 255, 0.75);
}
#AutresRaisons .avantage-card a {
    color: white;
}
#AutresRaisons .avantage-card a:hover {
    color: rgba(255, 255, 255, 0.8);
}

#AutresRaisons .section-header {
    padding: 0 5%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

#AutresRaisons .avantages-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 5%;
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.avantage-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(31, 53, 77, 0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.avantage-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.avantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(31, 53, 77, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.avantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--CouleurSecondaire), rgba(3, 152, 158, 0.7));
    box-shadow: 0 8px 20px rgba(3, 152, 158, 0.3);
    transition: transform 0.3s ease;
}

.avantage-card:hover .avantage-icon {
    transform: scale(1.1) rotate(5deg);
}

.avantage-icon .material-symbols-outlined {
    font-size: 26px;
    color: white;
}

.avantage-card h3 {
    font-family: var(--FontFamily);
    font-size: clamp(18px, 1.4vw, 22px);
    font-weight: 600;
    color: var(--CouleurPrimaire);
    margin-bottom: 12px;
}

.avantage-card p {
    font-family: var(--FontFamily);
    font-size: clamp(14px, 1vw, 16px);
    color: var(--CouleurMuted);
    line-height: 1.6;
}

.avantage-card a {
    color: var(--CouleurSecondaire);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.avantage-card a:hover {
    color: var(--CouleurPrimaire);
}

/* Couleurs différentes pour chaque carte */
.avantage-card:nth-child(2) .avantage-icon {
    background: linear-gradient(135deg, var(--CouleurAccent), rgba(255, 140, 66, 0.7));
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.3);
}

.avantage-card:nth-child(3) .avantage-icon {
    background: linear-gradient(135deg, var(--CouleurPrimaire), rgba(31, 53, 77, 0.7));
    box-shadow: 0 8px 20px rgba(31, 53, 77, 0.3);
}

/* Responsive */
@media only screen and (max-width: 900px) {
    .avantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .avantage-card {
        padding: 25px;
    }
}

/* ===== SECTION FAQ ACCORDÉON ===== */
#FAQ {
    padding-top: 50px;
    padding-bottom: 50px;
}

.faq-container {
    max-width: 800px;
    width: 100%;
    margin: 25px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    padding: 0 5%;
}

.faq-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(31, 53, 77, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
    box-sizing: border-box;
}

.faq-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(31, 53, 77, 0.1);
}

.faq-item[open] {
    box-shadow: 0 8px 30px rgba(3, 152, 158, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    cursor: pointer;
    list-style: none;
    font-family: var(--FontFamily);
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 600;
    color: var(--CouleurPrimaire);
    width: 100%;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--CouleurSecondaire);
}

.faq-icon {
    font-size: 24px;
    color: var(--CouleurSecondaire);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-item[open] .faq-question {
    color: var(--CouleurSecondaire);
    border-bottom: 1px solid rgba(3, 152, 158, 0.1);
}

.faq-answer {
    padding: 0 20px 15px;
    animation: fadeIn 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    font-family: var(--FontFamily);
    font-size: clamp(14px, 1vw, 16px);
    color: var(--CouleurMuted);
    line-height: 1.7;
    margin: 0;
}

/* Responsive FAQ */
@media only screen and (max-width: 600px) {
    .faq-question {
        padding: 16px 18px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 18px 16px;
    }

    .faq-icon {
        font-size: 22px;
    }
}

/* Empêcher le défilement quand le menu mobile est ouvert */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ===== CTA FLOTTANT MOBILE ===== */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(31, 53, 77, 0.15);
    z-index: 90;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.mobile-cta.hidden {
    transform: translateY(100%);
}

.mobile-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--CouleurAccent) 0%, #FF6F1A 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--FontFamily);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
    transition: all 0.2s ease;
}

.mobile-cta-button:hover,
.mobile-cta-button:active {
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(255, 140, 66, 0.3);
}

.mobile-cta-button .material-symbols-outlined {
    font-size: 22px;
}

/* Afficher seulement sur mobile */
@media only screen and (max-width: 700px) {
    .mobile-cta {
        display: block;
        padding: 12px 16px;
        box-sizing: border-box;
    }

    .mobile-cta-button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Ajouter du padding au footer pour éviter que le CTA cache du contenu */
    #Footer {
        padding-bottom: 80px;
    }

    /* Boutons CTA sur mobile */
    .cta-button.secondary {
        max-width: 90%;
        padding: 12px 20px;
        font-size: 15px;
    }

    .confiance-cta {
        padding: 0 5%;
    }
}

/* ===== FOOTER MODERNE ===== */
#Footer {
    position: relative;
    overflow: hidden;
    background: var(--CouleurPrimaire);
    color: white;
    margin-top: 50px;
}
#Footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/images/Texture.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: .05;
    filter: invert(1);
    pointer-events: none;
}
#Footer .footer-content, #Footer .footer-bottom {
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 5% 30px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
}

/* Brand column */
.footer-brand {
    padding-right: 20px;
    text-align: left;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.footer-logo span {
    font-family: "Khand", sans-serif;
    font-size: 18px;
    color: white;
}

.footer-description {
    font-family: var(--FontFamily);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Titles */
.footer-title {
    font-family: var(--FontFamily);
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--CouleurSecondaire);
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li {
    font-family: var(--FontFamily);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--CouleurSecondaire);
}

/* Territory list - 2 columns */
.footer-links.territory {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 15px;
}

/* Contact with icons */
.footer-links.contact li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links.contact .material-symbols-outlined {
    font-size: 18px;
    color: var(--CouleurSecondaire);
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--CouleurSecondaire);
    transform: translateY(-3px);
}

.footer-social img {
    width: 22px;
    height: 22px;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 5%;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--FontFamily);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Responsive Footer */
@media only screen and (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .footer-description {
        max-width: 500px;
    }
}

@media only screen and (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 5% 30px;
    }
}

/* Ancien code supprimé - remplacé par le nouveau design */
#PremiereVue .EmailCTA{
    margin-top: 30px;
}
.TitreCTA{
    font-family: var(--FontFamily);
    font-size: var(--FontSizeREG);
    font-weight: 450;
}
.EmailCTA h3{
    font-size:var(--FontSizeREG);
    font-weight: 200;
    font-family: var(--FontFamily);
}
.EmailCTA input{
    width:clamp(250px,18vw,500px);
    padding:5px 15px 5px 15px;
    border-radius: 10px;
    border:none;
    background-image: linear-gradient(90deg,var(--CouleurPrimaire) 30%,white);
    color:black;
    font-family: var(--FontFamily);
    font-size:var(--FontSizeREG);
}
.EmailCTA form{
    height:fit-content;
    position: relative;
}
.EmailCTA button{
    height:40px;
    width:40px;
    background-color: #ffffff;
    color:var(--CouleurPrimaire);
    border:none;
    box-shadow: var(--BoxShadow) 2px 2px 5px;
    border-radius: 10px;
    text-align: center;
    margin-left: -20px;
    cursor: pointer;
    transition: all 0.18s;
    position:absolute;
    top:0px;
}

.EmailCTA button:hover{
    background-color: var(--CouleurPrimaire);
    color:white;
}
.EmailCTA input:focus{
    outline:none;
    box-shadow: var(--BoxShadow) 2px 2px 5px;
}
.EmailCTA input{
    transition: all 0.2s;
}

.EmailCTA input::placeholder{
    color:black;
}
.EmailCTA button span{
    vertical-align: middle;
    padding:5px;
    font-size: calc(var(--FontSizeREG) + 11px);
}
.SansEngagement{
    position: relative;
    background-color: none;
}
.SansEngagement .Highlight{
    margin-top: 5px;
    font-size: calc(var(--FontSizeREG) - 3px);
    font-family: var(--FontFamily);
}

.AvantagesTuteur{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}
.Avantage{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.Avantage span{
    font-size: 28px;
    color: var(--CouleurSecondaire);
}
.Avantage h4{
    font-family: var(--FontFamily);
    font-size: var(--FontSizeREG);
    font-weight: 400;
    margin: 0;
}

.ButtonCTA h2{
    font-family: var(--FontFamily);
    font-size: var(--FontSizeREG);
    font-weight: 450;
    background-color: #FBEFDD;
    border:2px solid var(--CouleurAccent);
    transition: all 0.2s;
    margin-bottom: 10px;
    padding:4px;

}
.ButtonCTA h3{
    font-size:var(--FontSizeREG);
    font-weight: 200;
    font-family: var(--FontFamily);
}
.ButtonCTA input{
    width:clamp(250px,18vw,500px);
    padding:5px 15px 5px 15px;
    border-radius: 10px;
    border:none;
    background-image: linear-gradient(90deg,var(--CouleurPrimaire) 30%,white);
    color:black;
    font-family: var(--FontFamily);
    font-size:var(--FontSizeREG);
}
.ButtonCTA h2:hover{
    background-color:var(--CouleurAccent);
}
@media only screen and (min-width:1000px){
    #PriceSelector button:hover, #PriceSelector button:active{
        background-color: var(--CouleurPrimaire);
        color:white;
    }
}
@media only screen and (max-width: 687px){
    #PremiereVue .Horizontal{
        flex-direction: column;
    }
    .section{
        overflow-x:clip;
    }
    #PremiereVue img{
        width:clamp(70px,40vw,260px);
        height:clamp(70px,40vw,260px);
        margin-left: 4px;
        position: absolute;
        bottom:150px;
        z-index: -1;
        right:-4vw;
        opacity: 30%;
    }
    .section{
        width:fit-content;
        padding-top:0px;
        margin-top: 0;
    }
    .EmailCTA input:focus{
        outline:none;
        box-shadow: var(--BoxShadow) 2px 2px 5px;
        width:70vw;
        max-width: 320px;
    }
    
    #PremiereVue .EmailCTA{
        display: none;
    }
}
#SocialMediaBANDbg{
    background-image: linear-gradient(to right,var(--CouleurPrimaire),var(--CouleurSecondaire));
    color:white;
    width: 92%;
    height: fit-content;
    padding-left:4%;
    padding-right:4%;
}
#SocialMediaBAND{
    height:fit-content;
    padding-top:clamp(5px,4vw,15px);
    padding-bottom:clamp(5px,4vw,15px);
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}
#SocialMediaBAND a{
    margin-top: auto;
    margin-bottom: auto;
}
#SocialMediaBAND h3{
    font-size: var(--FontSizeREG);
    font-family: var(--FontFamily);
    font-weight: 300;
    margin-top: auto;
    margin-bottom: auto;
}
#VotreTarif h1{
    font-size:var(--FontSizeBIG);
    font-family: var(--FontFamily);
    font-weight:600;
    line-height: var(--FontSizeBIG);
}
#VotreTarif .Reg{
    font-family: var(--FontFamily);
    font-size: var(--FontSizeREG);
    font-weight: 400;
    margin-top: 0px;
}
#PriceSelector span{
    margin-top: 3px;
    font-size:calc(var(--FontSizeREG) + 15px);
}
#PriceSelector button{
    background-color: #ffffff;
    color:var(--CouleurPrimaire);
    border:none;
    box-shadow: var(--BoxShadow) 2px 2px 5px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s;
}
.ButtonsPrice{
    display: flex;
    flex-direction: row;
    gap:20px;
}
#InfoSup h4{
    font-family: var(--FontFamily);
    font-size: var(--FontSizeREG);
    font-style:italic;
    font-weight: 100;
    position: relative;
}
#PriceSelector{
    display: flex;
    align-items: center;
    position: relative;
    height:fit-content;
}
#InfoSup{
    display: flex;
    align-items: center;
}
#InfoSup svg{
    padding-bottom: 2px;
    margin-left: 10px;
}
#TireLire{
    width:clamp(120px,18vw,150px);
    height:clamp(120px,18vw,150px);
    object-fit: cover;
    margin-right:clamp(175px,26vw,255px);
    right:0px;
    top:-100px;
    bottom:clamp(50px,15vw,140px);
    position: absolute;
}
#IMGTarif{
    position: absolute;
    border-radius: 100%;
    object-fit: cover;
    width:clamp(170px,30vw,300px);
    height:clamp(170px,30vw,300px);
    right:0px;
    top:-70px;
}
#Images{
    display: flex;
    position: relative;
    z-index: 5;
}
#NombresVariables{
    margin-top: 10px;
    max-width: 50vw;
}
#NombresVariables h2{
    font-family: var(--FontFamily);
    font-size:var(--FontSizeREG);
    font-weight: 400;
}
#NombresVariables h3{
    font-family: var(--FontFamily);
    font-size:calc(var(--FontSizeREG) + 10px);
    font-weight: 600;
}
#NombresVariables span{
    font-family: var(--FontFamily);
    font-size:calc(var(--FontSizeREG) - 4px);
    font-weight: 100;
    font-style: italic;
}
#ImagesDiv{
    justify-content: space-between;
}

@media only screen and (max-width: 980px){
    #IMGTarif{
        top:0px;
        width:clamp(190px,30vw,240px);
        height:clamp(190px,30vw,240px);
    }
    #TireLire{
        top:0px;
        width:clamp(120px,18vw,150px);
        height:clamp(120px,18vw,150px);
        margin-right:clamp(175px,27vw,220px);
    }
}
@media only screen and (max-width: 523px){
    #IMGTarif{
        top:0px;
        width:clamp(150px,35vw,240px);
        height:clamp(150px,35vw,240px);
    }
    #TireLire{
        display: none;
    }
}
#Profil{
    margin-top: 30px;
}
#Profil h1{
    font-family: var(--FontFamily);
    font-size:var(--FontSizeBIG);
    font-weight:600;
    text-align: center;
    line-height: var(--FontSizeBIG);
}
#Profil h4{
    font-family: var(--FontFamily);
    font-size:var(--FontSizeREG);
    font-weight:400;
    text-align: center;
}

#AutresRaisons h1{
    font-family: var(--FontFamily);
    font-size:var(--FontSizeBIG);
    font-weight:600;
    line-height: var(--FontSizeBIG);
}
#AutresRaisons h2{
    font-family: var(--FontFamily);
    font-size:calc(var(--FontSizeREG) + 5px);
    font-weight: 400;
}
.Carroussel{
    display: flex;
    flex-direction: row;
    gap:clamp(1px,2vw,15px);
    column-count:2;
    flex-wrap: wrap;
    justify-content:space-between;
}
.CarrousselBloc .Title{
    display: flex;
    flex-direction: row;
    height: fit-content;
}
.CarrousselBloc .Title span{
    margin-top: auto;
    margin-bottom: auto;
}
.CarrousselBloc .Title h3{
    font-family: var(--FontFamily);
    font-size: calc(var(--FontSizeREG) + 2px);
    font-weight: 600;
    margin-left: 3px;
    padding-top: 2px;
    margin-top: auto;
    margin-bottom: auto;
}
.Carroussel .Forward{
    margin-top: auto;
    margin-bottom: auto;
    padding:7px;
    width:fit-content;
    height:fit-content;
    background-color: #ffffff;
    color:var(--CouleurPrimaire);
    border:none;
    box-shadow: var(--BoxShadow) 2px 2px 5px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s;
}
.Carroussel .back{
    margin-top: auto;
    margin-bottom: auto;
    padding:7px;
    padding-left:12px;
    width:fit-content;
    height:fit-content;
    background-color: #ffffff;
    color:var(--CouleurPrimaire);
    border:none;
    box-shadow: var(--BoxShadow) 2px 2px 5px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s;
}
.Carroussel button:hover{
    background-color: var(--CouleurPrimaire);
    color:white;
}
.CarrousselBloc h4{
    font-family: var(--FontFamily);
    font-size: calc(var(--FontSizeREG) - 1px);
    font-weight:100;
}
.CarrousselBloc{
    border-bottom: var(--BoxShadow) solid 1px;
    padding:5px;
    width:clamp(100px,46%,300px);
}

@media only screen and (max-width: 1060px){
    .CarrousselBloc{
        width:clamp(100px,30%,300px);
    }
}
@media only screen and (max-width: 760px){
    .CarrousselBloc{
        width:clamp(100px,47%,500px);
    }
}

@media only screen and (max-width: 596px){
    .CarrousselBloc{
        width:clamp(100px,100%,500px);
    }
}
/* HTML: <div id="loader"></div> */
#loader,#loaderL {
    margin-top: -4px;
    margin-left: -4.5px;
    display: none;
    position: relative;
    scale:0.5;
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
      radial-gradient(farthest-side,var(--CouleurAccent) 94%,#0000) top/8px 8px no-repeat,
      conic-gradient(#0000 30%,var(--CouleurAccent));
    -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
    animation: l13 1s infinite linear;
  }
  @keyframes l13{ 
    100%{transform: rotate(1turn)}
  }

  #CTACenter{
   width: fit-content;
   margin-left: auto;
   margin-right: auto;
  }
  .ButtonCTA{
    width: fit-content;
  }
  #CTACenter h2{
    font-size:calc(var(--FontSizeREG) + 10px);
  }
  #CTACenter h3{
    font-size:calc(var(--FontSizeREG) + 2px);
    margin-top: -7px;
    margin-bottom: 10px;
  }
  #CTACenter .Highlight{
    font-size:var(--FontSizeREG);
  }
  #CTACenter .SansEngagement{
    margin-top: 5px;
  }
  #CTACenter h2,#CTACenter h3,#CTACenter .SansEngagement,#CTACenter form{
    text-align: center;
  }
  #Backend{
    display: none;
  }

/* ===== SECTION RÉMUNÉRATION COMPARATIVE ===== */
.remun-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 580px;
    margin: 0 auto 32px;
    font-family: var(--FontFamily);
}

.remun-card {
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.remun-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.remun-card--industry {
    background: #f5f5f5;
    border: 1px solid rgba(31, 53, 77, 0.15);
}

.remun-card--cdt {
    background: rgba(3, 152, 158, 0.06);
    border: 1px solid rgba(3, 152, 158, 0.3);
}

.remun-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--CouleurMuted);
    margin: 0;
    font-family: var(--FontFamily);
}

.remun-label--cdt {
    color: var(--CouleurSecondaire);
}

.remun-amount {
    font-size: 30px;
    font-weight: 700;
    color: var(--CouleurPrimaire);
    line-height: 1;
    margin: 4px 0 0;
    font-family: var(--FontFamily);
}

.remun-amount--cdt {
    color: var(--CouleurSecondaire);
}

.remun-unit {
    font-size: 16px;
    font-weight: 400;
}

.remun-caption {
    font-size: 12px;
    color: var(--CouleurMuted);
    margin: 0;
    line-height: 1.4;
    font-family: var(--FontFamily);
}

.remun-source {
    font-size: 11px;
    color: var(--CouleurMuted);
    margin: auto 0 0;
    padding-top: 10px;
    line-height: 1.4;
    font-family: var(--FontFamily);
}

.remun-source a {
    color: var(--CouleurMuted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.remun-sub {
    font-size: 11px;
    color: var(--CouleurSecondaire);
    margin: 4px 0 0;
    line-height: 1.4;
    font-family: var(--FontFamily);
}

.remun-body {
    max-width: 580px;
    margin: 0 auto;
    text-align: center;
    font-family: var(--FontFamily);
}

.remun-body p {
    font-size: 17px;
    color: var(--CouleurMuted);
    line-height: 1.6;
    margin: 0 0 20px;
    font-family: var(--FontFamily);
}

.remun-valeurs {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-start;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.remun-valeur {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    color: var(--CouleurMuted);
    font-family: var(--FontFamily);
}

.remun-valeur .material-symbols-outlined {
    font-size: 18px;
    color: var(--CouleurSecondaire);
}

.remun-sep {
    color: var(--CouleurMuted);
    font-size: 18px;
    line-height: 1;
}

.remun-tagline {
    font-size: 21px;
    font-weight: 600;
    color: var(--CouleurPrimaire);
    border-left: 3px solid var(--CouleurSecondaire); /* impeccable-disable-line side-tab -- classic blockquote/pull-quote accent on plain text, no card or background tint; distinct from the card-with-colored-strip pattern the rule targets */
    padding-left: 16px;
    text-align: left;
    margin: 0 0 24px;
    line-height: 1.4;
    font-family: var(--FontFamily);
}

@media (max-width: 560px) {
    .remun-compare {
        grid-template-columns: 1fr;
    }
    .remun-tagline {
        font-size: 18px;
    }
}

/* ===== SECTION REVENUS & RÉMUNÉRATION (FUSIONNÉE) ===== */
#RevenusRemuneration {
    background: #f7f9fb;
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-top: 60px;
    padding-bottom: 60px;
}

.revenus-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 5%;
}

.revenus-eyebrow {
    font-family: var(--FontFamily);
    font-size: clamp(11px, 0.85vw, 13px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--CouleurSecondaire);
    margin: 0 0 10px;
}

.revenus-title {
    font-family: var(--FontFamily);
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 700;
    color: var(--CouleurPrimaire);
    margin: 0 0 12px;
    line-height: 1.15;
}

.revenus-sub {
    font-family: var(--FontFamily);
    font-size: clamp(13px, 1vw, 16px);
    color: var(--CouleurMuted);
    margin: 0;
}

.revenus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
    align-items: start;
}

/* Simulateur — conteneur sans max-width ni centrage imposé */
.simulateur-inner {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(31, 53, 77, 0.1);
    box-shadow: 0 8px 32px rgba(31, 53, 77, 0.1);
}

/* Range inputs dans le nouveau contexte */
.simulateur-inner input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 50px;
    background: rgba(3, 152, 158, 0.18);
    outline: none;
    cursor: pointer;
    accent-color: var(--CouleurSecondaire);
}

.simulateur-inner input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--CouleurSecondaire);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.simulateur-inner input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.simulateur-inner input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--CouleurSecondaire);
    cursor: pointer;
}

/* Côté droit — comparaison */
.remun-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 4px;
}

/* Overrides comparaison pour fond sombre + layout 2 colonnes */
#RevenusRemuneration .remun-compare {
    max-width: none;
    margin: 0;
}

#RevenusRemuneration .remun-body {
    max-width: none;
    margin: 0;
    text-align: left;
}

#RevenusRemuneration .remun-body p {
    color: var(--CouleurMuted);
    font-size: clamp(14px, 1vw, 16px);
}

#RevenusRemuneration .remun-tagline {
    color: var(--CouleurPrimaire);
    border-left-color: var(--CouleurSecondaire);
    text-align: left;
    font-size: clamp(16px, 1.3vw, 20px);
}

/* Carte "Agence typique" — fond clair */
#RevenusRemuneration .remun-card--industry {
    background: white;
    border-color: rgba(31, 53, 77, 0.15);
    box-shadow: 0 4px 16px rgba(31, 53, 77, 0.06);
}

/* Carte "Coeur de Tuteur" — fond clair, mise en valeur teal */
#RevenusRemuneration .remun-card--cdt {
    background: rgba(3, 152, 158, 0.06);
    border-color: rgba(3, 152, 158, 0.3);
    box-shadow: 0 4px 20px rgba(3, 152, 158, 0.12);
}

#RevenusRemuneration .remun-label--cdt {
    color: var(--CouleurSecondaire);
}

#RevenusRemuneration .remun-amount--cdt {
    color: var(--CouleurSecondaire);
}

#RevenusRemuneration .remun-sub {
    color: var(--CouleurSecondaire);
}

/* Responsive */
@media (max-width: 860px) {
    .revenus-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #RevenusRemuneration .remun-compare {
        max-width: 560px;
        margin: 0 auto;
    }

    #RevenusRemuneration .remun-body {
        max-width: 560px;
        margin: 0 auto;
        text-align: center;
    }

    #RevenusRemuneration .remun-tagline {
        text-align: left;
    }
}

@media (max-width: 560px) {
    #RevenusRemuneration .remun-compare {
        grid-template-columns: 1fr;
    }
}
